<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache"> 
<meta http-equiv="cache-control" content="no-cache, must-revalidate"> 
<meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">
<title>Customer Main</title>
<script src="${pageContext.request.contextPath}/script/jQuery1.8.2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("a").click(function(){
		var url="${pageContext.request.contextPath}/customer/logout.do";
		window.location.replace(url);
	});
	$("#card").click(function(){
		var url="${pageContext.request.contextPath}/customer/card.do";
		window.location.href=url;
	});
	$("#pass").click(function(){
		var url="${pageContext.request.contextPath}/customer/pass.do";
		window.location.href=url;
	});
});
</script>
</head>
<body>
	Welcome you ${name}, <a href="javascript:void(0)">login out</a>
		<table>
			<tr>
				<td>Card NO reset</td>
				<td><input id="card" type="button" value="Go"/>
			</tr>
			<tr>
				<td>Password reset</td>
				<td><input id="pass" type="button" value="Go"/>
			</tr>
		</table>
</body>
</html>